﻿using System;
using System.Linq;
using System.Runtime.Serialization;

namespace LandingPagesStats.WebAPI.Models
{
    [DataContract]
    public class HostModel
    {
        [DataMember(Name = "id")]
        public int HostId { get; set; }

        [DataMember(Name = "url")]
        public string Url { get; set; }

        [DataMember(Name = "entry")]
        public DateTime LastEntry { get; set; }

        [DataMember(Name = "count")]
        public int Count { get; set; }
    }
}